package org.person.gift.constants;

public class GiftConstants {
    //上架礼品的事务消息生产者配置
    public static final String GIFT_ONSALE_TX_PRODUCER_GROUP = "gift_onsale_tx_producer_group";
    public static final String GIFT_ONSALE_TX_TOPIC = "gift_onsale_tx_topic";
    public static final String GIFT_ONSALE_TX_TAG = "gift_onsale_tx_tag";

    //下架礼品的事务消息生产者配置
    public static final String GIFT_OFFSALE_TX_PRODUCER_GROUP = "gift_offsale_tx_producer_group";
    public static final String GIFT_OFFSALE_TX_TOPIC = "gift_offsale_tx_topic";
    public static final String GIFT_OFFSALE_TX_TAG = "gift_offsale_tx_tag";

    public static final Integer GIFT_AUDIT_SUCCESS = 1;
    public static final Integer GIFT_AUDIT_FAILED = -1;
    public static final Integer GIFT_AUDIT_WAIT = 0;
    public static final Integer GIFT_ONSALE = 2;
    public static final Integer GIFT_OFFSALE = 3;
}
